﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.ServiceModel;


namespace CityInfo
{
    public partial class ShopDetails : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            ShopListServiceProvider.ShopListServiceClient ShopListClient = new ShopListServiceProvider.ShopListServiceClient();
            GridView1.DataSource = ShopListClient.GetStoreList();
            GridView1.DataBind();
            GridView1.HeaderRow.Cells[0].Text = "Location";
            GridView1.HeaderRow.Cells[1].Text = "Store Name";
            GridView1.HeaderRow.Cells[2].Text = "Category";
        }
    }
}